* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

// 导航栏
.head {
  background: linear-gradient(to right, #610405, #8e0203, #860104);

  .head-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 90%;
    margin: auto;
  }

  .head-left {
    img {
      width: 80%;
      height: 60px;
    }
  }

  .head-right {
    display: flex;
    align-items: center;
    width: 70%;
    justify-content: space-between;

    .none {
      display: none;
    }

    ul {
      display: flex;
      // flex-wrap: wrap;
      list-style-type: none;
      // margin-right: 20px;

      li {
        padding: 8px;
        color: #fff;

        a {
          text-decoration: none;
          color: #fff;
          width: 100%;
          display: block;
        }
      }

      li:hover {
        transform: scale(1.2);
      }
    }

    .input {
      position: relative;

      img {
        position: absolute;
        width: 15px;
        top: 5px;
        left: 4px;
      }

      input {
        height: 20px;
        border-radius: 10px;
        border: 1px solid white;
      }
    }
  }
}

// banner图
.swiper-slide img {
  width: 100%;
  height: 40rem;
}

// 新闻公告
.news-box {
  background: linear-gradient(to bottom, #ffffff, #f2f2f2);

  .news {
    padding-top: 30px;
    width: 85%;
    margin: auto;

    .news-content {
      margin-top: 30px;
      margin-bottom: 30px;
      background: linear-gradient(to top, #f8f8f8, #d6d6d6);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      font-size: 22px;
      text-align: center;
      position: relative;
      font-weight: bold;
    }

    .newcolor {
      font-weight: bold;
      font-size: 30px;
      color: #ca1818;
      position: absolute;
      right: 45%;
      top: -8px;
    }

    .news1 {
      width: 100%;
      display: flex;
      text-align: center;
      justify-content: space-between;

      .news-left {
        width: 49%;
        height: 350px;

        .none1 {
          display: none;
        }

        .image3 {
          width: 100%;
          height: 350px;
        }
      }

      .news-right {
        height: 350px;
        border: 1px solid #f1f1f1;
        border-radius: 10px;
        width: 49%;

        .top {
          font-weight: bold;
          text-align: left;
          padding: 15px;
          font-size: 24px;
        }

        .center {
          display: flex;
          align-items: center;
          padding: 15px;

          .border {
            width: 80%;
            border-bottom: 2px solid #e3e3e3;
          }

          .time {
            color: #d33939;
            padding: 10px;
          }
        }

        .bottom {
          text-align: left;
          padding: 15px;
          color: #bbbbbb;
          font-size: 20px;
        }

        .bottom-img {
          display: flex;
          justify-content: space-between;
          padding-top: 15px;
          padding-left: 15px;
          padding-right: 15px;

          .bottom-left {
            img {
              width: 40px;
              height: 40px;
            }

            img:nth-child(2) {
              transform: rotate(180deg);
              margin-left: 10px;
            }

            img:hover {
              filter: drop-shadow(0 0 0 red);
            }
          }

          .bottom-right {
            span {
              color: #c60000;
              font-size: 24px;
            }
          }
        }
      }
    }

    .news2 {
      margin-top: 40px;
      position: relative;

      .line {
        position: absolute;
        height: 10px;
        width: 100%;
        background-color: #e5e5e5;
        top: 50px;
      }

      .content {
        display: flex;
        justify-content: space-between;

        .left,
        .center,
        .right {
          width: 30%;
          background: #fff;
          font-size: 14px;
          padding: 10px;
          z-index: 999;

          .left-top,
          .left-center,
          .left-right {
            width: 90%;
            margin: auto;
            margin-top: 20px;
          }

          .left-top {
            font-weight: bold;
          }

          .left-right {
            text-align: right;
            font-weight: bold;

            img {
              display: none;
            }
          }
        }

        .left:hover,
        .center:hover,
        .right:hover {
          color: #d34545;
        }
      }
    }

    .news3 {
      display: flex;
      text-align: center;
      align-items: center;
      justify-content: center;
      padding: 40px;
      color: #c3c3c3;

      img {
        transform: rotate(180deg);
        width: 20px;
        height: 20px;
        margin-left: 5px;
      }
    }
  }
}

// 党建引领开始
.dangjian {
  padding-top: 30px;
  width: 85%;
  margin: auto;

  .news3 {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #c3c3c3;

    img {
      transform: rotate(180deg);
      width: 20px;
      height: 20px;
      margin-left: 5px;
    }
  }

  .dangjian-content {
    margin-top: 30px;
    margin-bottom: 30px;
    background: linear-gradient(to top, #f8f8f8, #d6d6d6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 22px;
    text-align: center;
    position: relative;
    font-weight: bold;
  }

  .dangjiancolor {
    font-weight: bold;
    font-size: 30px;
    color: #ca1818;
    position: absolute;
    right: 45%;
    top: -8px;
  }

  .content-box {
    display: flex;
    justify-content: space-between;
    justify-items: center;
    margin-top: 20px;

    .content {
      width: 32%;

      .top {
        img {
          width: 100%;
          height: 100%;
        }
      }

      .bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 10px;
        padding-right: 10px;
        height: 150px;
        border: 1px solid #e6e6e6;
        box-shadow: 2px 2px 2px 1px #dbdbdb;
        margin-top: -5px;
        border-bottom: 10px solid transparent;

        .bottom-left {
          color: #fff;
          background-color: #e47f7f;
          width: 80px;
          height: 60px;
          margin-top: 20px;
          margin-bottom: 20px;
          padding-top: 10px;
          text-align: center;
          font-size: 30px;

          div:nth-child(1) {
            font-size: 16px;
          }

          div:nth-child(2) {
            font-size: 14px;
          }
        }

        .bottom-right {
          color: #858585;
          width: 80%;
          font-size: 18px;
          text-align: left;
          padding-left: 10px;
        }
      }
    }

    .content:hover {
      .bottom {
        border-bottom: 10px solid red;
      }

      .bottom-left {
        background-color: red;
      }
    }
  }
}

// 教研动态开始
.jiaoyan {
  background: url('../img/7-min.png');
  background-size: 100% 100%;

  .news3 {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #c3c3c3;

    img {
      transform: rotate(180deg);
      width: 20px;
      height: 20px;
      margin-left: 5px;
    }
  }

  .jiaoyan-box {
    padding-top: 30px;
    width: 85%;
    margin: auto;

    .jiaoyan-content {
      margin-top: 30px;
      margin-bottom: 30px;
      background: linear-gradient(to top, #f8f8f8, #d6d6d6);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      font-size: 22px;
      text-align: center;
      position: relative;
      font-weight: bold;
    }

    .jiaoyancolor {
      font-weight: bold;
      font-size: 30px;
      color: #ca1818;
      position: absolute;
      right: 45%;
      top: -8px;
    }

    .content {
      display: flex;
      justify-content: space-between;
      // border: 1px solid red;

      .jiaoyan-left {
        width: 48%;
        position: relative;
        // height: 340px;
        height: 100%;

        img {
          width: 100%;
          height: 350px;
          // height: 100%;
        }


        .font {
          .one {
            position: absolute;
            bottom: 4px;
            color: white;
            background-color: rgba($color: #52341f, $alpha: 0.5);
            width: 100%;
            height: 60px;
            line-height: 60px;
            text-align: center;
          }

          .two {
            display: none;
          }
        }
      }

      .jiaoyan-right {
        width: 48%;
        // margin-top: -35px;

        ul {
          li {
            color: #9c9c9c;

            .flex {
              display: flex;
              align-items: center;
              justify-content: space-between;
              border-bottom: 1px solid #dfdfdf;
              height: 70px;
              line-height: 30px;
              color: #9c9c9c;

              div:nth-child(1) {
                font-size: 24px;
              }
            }
          }

          li:hover {
            color: #c90000;

            .flex {
              color: #c90000;
            }
          }
        }
      }
    }
  }
}

// 社会服务开始
.shehuifuwu {
  padding-top: 30px;
  width: 85%;
  margin: auto;

  .news3 {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #c3c3c3;

    img {
      transform: rotate(180deg);
      width: 20px;
      height: 20px;
      margin-left: 5px;
    }
  }

  .shehui-content {
    margin-top: 30px;
    margin-bottom: 30px;
    background: linear-gradient(to top, #f8f8f8, #d6d6d6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 22px;
    text-align: center;
    position: relative;
    font-weight: bold;
  }

  .shehuicolor {
    font-weight: bold;
    font-size: 30px;
    color: #ca1818;
    position: absolute;
    right: 45%;
    top: -8px;
  }

  .fuwu-content {
    display: flex;
    justify-content: space-between;

    // align-items: center;
    .shehui-left {
      width: 48%;
      height: 500px;

      .img {
        width: 100%;
        height: 70%;

        img {
          width: 100%;
          height: 100%;
        }
      }

      .font {
        border: 3px solid #d07a81;
        border-top: none;
        margin-top: -5px;
        height: 30%;

        .top {
          padding: 10px;
          font-size: 20px;
        }

        .center {
          color: #9f9f9f;
          padding: 10px;
          font-size: 14px;
        }

        .right {
          display: flex;
          padding: 10px;

          img {
            margin-right: 10px;
          }
        }
      }
    }

    .shehui-right {
      width: 48%;
      height: 500px;

      .hongguan,
      .xinli {
        display: flex;
        align-items: center;
        margin-bottom: 14px;
        height: 48%;
        border: 1px solid #e9e9e9;
        text-align: center;
        padding-left: 150px;

        img {
          width: 60px;
          height: 60px;
        }

        div {
          color: #c90000;
          font-size: 40px;
          margin-left: 20px;
          font-weight: bold;
        }
      }

      .hongguan:hover,
      .xinli:hover {
        background-color: #e5e5e5;
      }
    }
  }
}

// 主题活动开始
.zhutihuodong {
  background-color: #f7e5e6;

  .zhutihuodong-box {
    padding-top: 30px;
    width: 85%;
    margin: auto;
  }

  .news3 {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #c3c3c3;

    img {
      transform: rotate(180deg);
      width: 20px;
      height: 20px;
      margin-left: 5px;
    }
  }

  .zhuti-content {
    margin-top: 30px;
    margin-bottom: 30px;
    background: linear-gradient(to top, #f8f8f8, #d6d6d6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 22px;
    text-align: center;
    position: relative;
    font-weight: bold;
  }

  .zhuticolor {
    font-weight: bold;
    font-size: 30px;
    color: #ca1818;
    position: absolute;
    right: 45%;
    top: -8px;
  }

  .content {
    display: flex;
    justify-content: space-between;
    text-align: center;

    .box1 {
      width: 22%;
      border-radius: 10px;
      overflow: hidden;

      .top {
        position: relative;
        height: 200px;

        img {
          width: 100%;
          height: 100%;
        }

        .font {
          position: absolute;
          top: 0;
          width: 100%;
          text-align: center;
          background-color: rgba($color: #8c9399, $alpha: 0.5);
          color: #fff;
          height: 101%;
          padding-top: 70px;
          font-size: 20px;
        }
      }

      .bottom {
        // height: 80px;
        padding-top: 50px;
        padding: 25px;
        background-color: #fff;
      }
    }

    // .box2{
    //   width: 22%;
    //   border-radius: 10px;
    //   overflow: hidden;
    //   .top{
    //     position: relative;
    //     img{
    //       width: 100%;
    //       height: 200px;
    //     }
    //     .font{
    //       position: absolute;
    //       top:0;
    //       width: 100%;
    //       height: 65%;
    //       text-align: center;
    //       color: #fff;
    //       background-color: rgba($color: #8c9399, $alpha: 0.5);
    //       padding-top: 70px;
    //       font-size: 20px;
    //     }
    //   }
    //   .bottom{
    //     height: 80px;
    //     padding-top: 50px;
    //     padding: 25px;
    //     background-color: #fff;
    //   }
    // }
    .box1:hover {
      margin-top: -20px;

      .bottom {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
      }

      .font {
        background-color: rgba($color: #a7c5e0, $alpha: 0.5);
      }
    }
  }
}

.box5 {
  height: 500px;
  margin-top: 20px;
  padding-top: 20px;
  position: relative;

  .mayuan-content {
    margin-top: 30px;
    margin-bottom: 30px;
    background: linear-gradient(to top, #f8f8f8, #d6d6d6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 22px;
    text-align: center;
    position: relative;
    font-weight: bold;
  }

  .mayuancolor {
    font-weight: bold;
    font-size: 30px;
    color: #ca1818;
    position: absolute;
    right: 46%;
    top: -8px;
  }

  .box5title {
    text-align: center;
    padding-top: 20px;
    position: relative;
    margin-bottom: 60px;

  }

  .box5-content {
    display: none;
  }

  .box5center {
    margin-bottom: 60px;

    .swiper {
      width: 100%;
      height: 60%;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .swiper-slide img {
      display: block;
      width: 80%;
      height: 200px;
      // object-fit: cover;
    }
  }

  .box5bottom {
    width: 90%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;

    .box5bottom1 {
      font-weight: bolder;
      font-size: 18px;
      margin-right: 20px;
      display: block;
    }

    .box5bottom2 {
      margin-right: 20px;
      font-size: 14px;
      display: block;


      a {
        text-decoration: none;
        color: #000;
      }
    }
  }

  .news3 {
    display: none;
  }
}

// 尾部开始
.foot {
  background-color: #c62c30;
  position: relative;

  .foot-content {
    width: 85%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 60px;

    .foot-left {
      // border: 1px solid red;
      border-right: 1px solid #fff;
      width: 35%;

      img {
        width: 80%;
        height: 60px;
      }
    }

    .foot-center {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      color: #fff;
      width: 50%;
      font-size: 18px;
    }

    .foot-right {
      width: 10%;

      img {
        width: 100%;
      }
    }
  }

  .foot-bottom {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    // border: 1px solid red;
    height: 40px;
    line-height: 40px;
    color: #a37d7d;
    background-color: rgba($color: #000, $alpha: 0.5);
  }
}

// 尾部结束